package com.ruoyi.knowledge.articlecollect.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.domain.doctor.Patient;
import com.ruoyi.common.domain.knowledge.Article;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 文章收藏管理对象 article_collect
 * 
 * @author Jm
 * @date 2025-08-12
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ArticleCollect extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 收藏ID */
    private Long id;

    /** 收藏患者ID */
    @Excel(name = "收藏患者ID")
    private Long patientId;

    /** 文章ID */
    @Excel(name = "文章ID")
    private Long articleId;

    /** 删除标记：0未删除，1已删除 */
    private Integer del;

    private Patient patient;

    private Article article;
}